package com.itheima.ssm.dao;

import com.itheima.ssm.domain.Member;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface IMemberDao {


    @Select("select * from Member where id=#{id}")
    public Member findById(String id);

    @Delete("delete from Member where id=#{id}")
    public void deleteById(String id);


  /*  @Update("update Member set name=#{name} , set nickname=#{nickname} ,set email=#{email} where id=#{id}")
    public void update(Member member);*/
}
